package com.xbk.seckill.stock.application.model.command;

import lombok.Data;

/**
 * 库存分桶
 *
 * @author xiexu
 * @date 2025/3/8 22:06
 */
@Data
public class SeckillStockBucketWrapperCommand extends SeckillStockBucketGoodsCommand {

    private static final long serialVersionUID = 2920951547657301665L;

    /**
     * 库存分桶信息
     */
    private SeckillStockBucketCommand stockBucketCommand;

    public boolean isEmpty() {
        return this.stockBucketCommand == null
                || super.isEmpty()
                || stockBucketCommand.isEmpty();
    }

}
